#ifndef _GSM_Tx_inquire_period_package_H
#define _GSM_Tx_inquire_period_package_H
#include "at32f4xx.h"
#include "systick.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "GSM_Tx_Data_package.h"

#define SWAP16(value) (u16)(((value) << 8) | (((value) >> 8) & 0xFF))
#define SWAP32(value) (u32)((((u8*)&(value))[0] << 24) | (((u8*)&(value))[1] << 16) | (((u8*)&(value))[2] << 8) | ((u8*)&(value))[3])

extern int Bat_order_Periodic_reported(u8 command_ID,u8 order,u8 Tx_module_type);
extern int fast_charger_tank_Periodic_reported(u8 command_ID,u8 order,u8 Tx_module_type,u8 MsgPackNum);
extern int fast_charger_tank_device_specification_Par(u8 Tx_module_type);
extern int Connect_device_specification_Par(battery_par *Battery_par,u8 Tx_module_type);
extern int Battery_detail_msg_report(battery_par *Battery_par,u8 Tx_module_type);
extern u8 Battery_detail_msg_period_report_task(u8 Tx_module_type,u8 Pack_Num);
extern u8 get_battery_online_num(void);
#endif

